<div id="nav">
    		<div id="nav_box">
    			<div class="logo">
    				<img src="{hd:$smarty.const.__VIEW__}/Index/image/logo2.png" alt="">
    			</div>
    			<ul id='t_menu'>
    				<li><a href="{hd:$smarty.const.__WEB__}">首页</a></li>
                    {hd:section loop=$category name=c}
                    <li {hd:$category[c].active}><a href="?cid={hd:$category[c].cid}">{hd:$category[c].catname}</a></li>
                    {hd:/section}
    			</ul>
    		</div>

    	</div>